<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>수정하기</title>
</head>
<body bgcolor="#084B8A">
<form name="frm" action="updatePro.js" 
   method="post"  enctype="multipart/form-data">
   
<table width="740" bgcolor="#084B8A" bordercolor="#FFFACD" style="border-collapse:collapse;" border="1">
 <tr>
 
  <td width="200" align="center"><font color="#F6CECE" >글　쓴　이</font></td>
  <td colspan="3" align="center">
  <input type="text" name="writer" value="${vo.writer}" size="65"/></td>
  
 </tr>
 
 <tr>
  <td align="center"><font color="#F6CECE" >제　　목</font></td><td colspan="3" align="center">
  <input type="text" name="subject" value="${vo.subject}" size="65"/></td>
 </tr>
 
 <tr>
  <td align="center"><font color="#F6CECE" >메　　일</font></td><td colspan="3" align="center">
  <input type="text" name="email" value="${vo.email}" size="65"/></td>
 </tr>
 
 <tr>
   <td align="center"><font color="#F6CECE" >내　　용</font></td><td colspan="3" align="center">
   <textarea rows="15" cols="55" name="content" >${vo.content}</textarea></td>
 </tr> 
 
 <tr>
   <td align="center"><font color="#F6CECE" >파일첨부</font></td>
   <td align="center"><input type="file" name="upload" size="50"/></td>
 </tr>
 <tr>
  <td colspan="2" align="center">
    <input type="hidden" name="pageNum" value="${pageNum}" />
    <input type="hidden" name="num" value="${vo.num}" />
    
    <input type="submit" value="수정" />&nbsp;&nbsp;
    <input type='button' value='취소' onclick="location.href='list.js'">


  </td>
 </tr>
</table>

</form>
</body>
</html>